genrule(
    name = "sql",
    outs = [
        "aggregates.md",
        "functions.md",
        "operators.md",
        "window_functions.md",
    ],
    cmd = """
$(location //pkg/cmd/docgen) functions $(RULEDIR) --quiet
""",
    tools = ["//pkg/cmd/docgen"],
    visibility = [
        ":__pkg__",
        "//pkg/gen:__pkg__",
    ],
)
